<?/*----------Уже есть такой mail спамер----------*/
if ($this->already_mail_is):
    print ($this->already_mail_is);
?>
            <table width="100%">
			    <thead>
				    <tr>
					    <th>E-mail</th>
                        <th width="5%"></th>
					</tr>
				</thead>
				<tbody>
<?
    foreach ($this->is_mail_spamer as $myrow):
        $id = $myrow['id'];
        $mail = $myrow['mail'];
?>
				    <tr>
					    <td><?=$mail;?></td>
						<td>
                            <div id="delete_mail_id_<?=$id;?>">
							<a href="/user/deletemailspamer/id_spamer/<?=$id;?>/mail/<?=$mail;?>" id="<?=$id;?>" class="delete_mail_spamer_class"><img src="resources/images/icons/cross.png" alt="Delete" /></a>
						    </div>
                        </td>
					</tr>
<?
    endforeach;
?>
				</tbody>
			</table>
<?endif;?>



<?/*----------Уже есть такой IP спамер---------*/
if ($this->already_ip_is):
    print ($this->already_ip_is);
?>
            <table width="100%">
			    <thead>
				    <tr>
					    <th>IP</th>
                        <th width="5%"></th>
					</tr>
				</thead>
				<tbody>
<?
    foreach ($this->is_ip_spamer as $myrow):
        $id = $myrow['id'];
        $ip = long2ip($myrow['ip']);
?>
				    <tr>
					    <td><?=$ip;?></td>
						<td>
                            <div id="delete_ip_id_<?=$id;?>">
							<a href="/user/deleteipspamer/id_spamer/<?=$id;?>/ip/<?=$ip;?>" id="<?=$id;?>" class="delete_ip_spamer_class"><img src="resources/images/icons/cross.png" alt="Delete" /></a>
						    </div>
                        </td>
					</tr>
<?
    endforeach;
?>
				</tbody>
			</table>
<?endif;?>



<?/*-----------Добавлен новый mail спамер------------*/
if ($this->new_mail_spamer):
{
    print_r($this->message_new_mail_spamer);
}
?>
            <table width="100%">
			    <thead>
				    <tr>
					    <th>E-mail</th>
                        <th width="5%"></th>
					</tr>
				</thead>
				<tbody>
<?
    foreach ($this->new_mail_spamer as $myrow):
        $id = $myrow['id'];
        $mail = $myrow['mail'];
?>
				    <tr>
					    <td><?=$mail;?></td>
						<td>
                            <div id="delete_mail_id_<?=$id;?>">
							<a href="/user/deletemailspamer/id_spamer/<?=$id;?>/mail/<?=$mail;?>" id="<?=$id;?>" class="delete_mail_spamer_class"><img src="resources/images/icons/cross.png" alt="Delete" /></a>
						    </div>
                        </td>
					</tr>
<?
    endforeach;
?>
				</tbody>
			</table>
<?endif;?>



<?/*----------Добавлен новый IP спамер-----------*/
if ($this->new_ip_spamer):
    print_r($this->message_new_ip_spamer);
?>
            <table width="100%">
			    <thead>
				    <tr>
					    <th>IP</th>
                        <th width="5%"></th>
					</tr>
				</thead>
				<tbody>
<?
    foreach ($this->new_ip_spamer as $myrow):
        $id = $myrow['id'];
        $ip = long2ip($myrow['ip']);
?>
				    <tr>
					    <td><?=$ip;?></td>
						<td>
                            <div id="delete_ip_id_<?=$id;?>">
							<a href="/user/deleteipspamer/id_spamer/<?=$id;?>/ip/<?=$ip;?>" id="<?=$id;?>" class="delete_ip_spamer_class"><img src="resources/images/icons/cross.png" alt="Delete" /></a>
						    </div>
                        </td>
					</tr>
<?
    endforeach;
?>
				</tbody>
			</table>
<?endif;?>